/**
 * 
 */
package com.lehecai.ucenter.entity.permission;

import com.lehecai.ucenter.entity.BaseEntity;

/**
 * 用户角色对应表
 * @author chirowong
 *
 */
public class UserRole extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -699033612844698418L;
	public static final String USER_ID_PROPERTY_NAME = "userId";
	public static final String ROLE_ID_PROPERTY_NAME = "roleId";
	private Long userId;
	private Long roleId;
	
	public UserRole(){
	}
	
	public UserRole(Long userId, Long roleId){
		this.userId = userId;
		this.roleId = roleId;
	}
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
}
